import request from '@/utils/request';

// 列表
export const dataList = (data: Object) => {
    return request({
        url: "/pc/teacher/list",
        data: data,
        method: "post",
    });
};

// 新增编辑
export const dataAdd = (data: Object) => {
    return request({
        url: "/pc/teacher/save",
        data: data,
        method: "post",
    });
};
// 删除
export const dataDel= (data: Object) => {
    return request({
        url: "/pc/teacher/del",
        data: data,
        method: "post",
    });
};
// 审核 
export const review = (data: Object) => {
    return request({
        url: "/pc/teacher/list",
        data: data,
        method: "post",
    });
};
// 图片上传
export const imageFile = (data: Object) => {
    return request({
        url: "/pc/common/upload",
        data: data,
        method: "post",
    });
};
// 班级列表
export const classList = (data: Object) => {
    return request({
        url: "/pc/squad/list",
        data: data,
        method: "post",
    });
};